<%

String username=request.getParameter("username");
String password=request.getParameter("password"); 
boolean loginsuccess=false;

if (username=="student") loginsuccess=true;
if(loginsuccess)
{
 %>
 <jsp:forward page="student.jsp"></jsp:forward>
 <%}
	else
	{
	 %>
 <jsp:forward page="student.jsp"></jsp:forward>
 <%
	}
 %>